objects = tagger.o feature.o lbfgs.o runCRF.o CRFTagger.o main.o 
crf : $(objects)
	g++ -o crf $(objects)
main.o : main.cpp
	g++ -c -O2 main.cpp
CRFTagger.o : CRFTagger.cpp
	g++ -c -O2 CRFTagger.cpp
runCRF.o : runCRF.cpp
	g++ -c -O2 runCRF.cpp
lbfgs.o : lbfgs.cpp
	g++ -c -O2 lbfgs.cpp
feature.o : feature.cpp
	g++ -c -O2 feature.cpp
tagger.o: tagger.cpp
	g++ -c -O2 tagger.cpp

clean:
	rm crf $(objects)
